<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增酶活性')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-activity-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">样本id：</label>
                <div class="col-sm-8">
                    <input name="sId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">BG(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="bg" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">CB(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="cb" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">NAG(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="nag" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">XYL(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="xyl" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">Phos(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="phos" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">PER(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="per" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">DOPA(umol h-1 g-1)：</label>
                <div class="col-sm-8">
                    <input name="dopa" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/activity"
        $("#form-activity-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-activity-add').serialize());
            }
        }
    </script>
</body>
</html>